<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>5.数据类型-简单数据类型-字符串类型</title>
    <script>
        //1.字符串嵌套 
        var str = '学习"web"前端开发'; //外单内双
        console.log(str);
        //2.字符串转义符  都用\来开头表示 这些转义符要写到引号内
        var str1 = '学习"web"\n前\\端\'开\"发\t发发\b阿发';
        console.log(str1);
    </script>
</head>

<body>

</body>

</html>